magnitude 3d vector